//
//  ProductViewController.h
//  PurchasingMeeting
//
//  Created by zhuang yihang on 7/12/13.
//  Copyright (c) 2013 YX. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EGORefreshTableFooterView.h"
#import "BaseViewController.h"
//#import "PopupView.h"
#import "DemoTableController.h"
#import "ZBarSDK.h"
#import "KeyObject.h"
/*
 商品订购页面
 */

@interface ProductViewController : BaseViewController<UIScrollViewDelegate,EGORefreshTableFooterDelegate,UITextFieldDelegate,ZBarReaderDelegate>
{
    EGORefreshTableFooterView *refreshView;
    BOOL reloading;
    UIScrollView *scroll;
    int num;
    UILabel *title;
    UIButton *next;
    UIButton *next1;
    UIView * view;
    UIImageView *filtertint;
    UIImageView *tint;
    //PopupView *popUp;
    NSArray *product;
    NSArray *searchproduct;
    int page;
    BOOL isclear;
    int cleartag;
    UITextField *search;
    BOOL issearch;
    DemoTableController *controller;
    NSString *pserialstr;
    NSString *stylestr;
    UIScrollView *filterscroll;
    float distance;
    
    //当前过滤条件,数组元素为keyobject记录了当前各过滤条件选择的条件
    NSMutableArray* KeyFilter;
    UIImageView *searchimage;
    UIImageView *zbarimageview;
    UILabel *zbarlabel;
    BOOL isclick;
    BOOL isnoobj;
}

@property(nonatomic,strong)KeyObject *keyobj;
@end
